<p class="usermessage"><span class="link" onclick="openMessage(event,'','adm')">{$lang.contactadmin}</span></p>
{include file="mp.tpl"}
<center>

<form method="post" id="reg_form" class="box_form">
 <input type="hidden" name="flowid" id="flowid" value="{$flowid}">
 <input type="hidden" name="action" value="reguser">
 <input type="hidden" name="op" value="add">
 <table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td>{$lang.userid}</td>
		<td><input type="text" size="10" maxlength="10" name="userid" id="userid" class="txt" value="{$param.userid}"></td>
	</tr>
	{*
	<tr>
		<td>{$lang.password}</td>
   	<td><input type="password" size="20" maxlength="20" name="password" id="password" class="txt"></td>
   </tr>
	<tr>
		<td>{$lang.retypepassword}</td>
   	<td><input type="password" size="20" maxlength="20" name="repassword" id="repassword" class="txt"></td>
   </tr>
   *}
	<tr>
		<td>{$lang.mail}</td>
   	<td><input type="text" size="50" maxlength="50" name="mail" id="mail" class="txt" value="{$param.mail}"></td>
   </tr>
	<tr>
		<td>{$lang.retypemail}</td>
   	<td><input type="text" size="50" maxlength="50" name="remail" id="remail" class="txt" value="{$param.remail}"></td>
   </tr>
	<tr>
		<td>{$lang.team}</td>
   	<td>
		<select name="team" id="team" class="txt">
		{foreach from=$teamlist item=op}
			<option value="{$op->id}" {if $op->id eq $param.team} selected {/if}>{$op->name}</option>
		{/foreach}
	</select>
   	
   </tr>
	<tr>
		<td>{$lang.userlanguage}</td>
   	<td>
			<select name="lang" id="lang" class="txt">
				{foreach from=$langlist item=op}
					<option value="{$op.value}" {if $op.value eq $param.lang} selected {/if}>{$op.name}</option>
				{/foreach}
			</select>
		</td>
   </tr>
	<tr>
		<td>{$lang.timezone}</td>
   		<td>
			<select name="timezone" id="timezone" class="txt">
				{foreach from=$timezonelist item=op}
						<option value="{$op.value}" {if $op.value eq 0} selected {/if}>{$op.name}</option>
				{/foreach}
			</select>
		</td>
   </tr>
   <tr>
   	<td>&nbsp;</td>
	 	<td align="right">{include file="button.tpl" name=$lang.ok action="processForm('reg_form')"}</td>
   </tr>
 </table>
</form>

</center>